<?php
/*--------------------------------------------------------------------------------------------------
    show_shipping_weight_checkout.php 2023-06-15
    Gambio GmbH
    http://www.gambio.de
    Copyright (c) 2023 Gambio GmbH
    Released under the GNU General Public License (Version 2)
    [http://www.gnu.org/licenses/gpl-2.0.html]
    --------------------------------------------------------------------------------------------------
 */

/** @var DatabaseModel $this */

$configuration = $this->queryGmConfiguration('SHOW_SHIPPING_WEIGHT_CHECKOUT');
if ($configuration->fetch_assoc() === null) {
    $this->insertGmConfiguration('SHOW_SHIPPING_WEIGHT_CHECKOUT', 'true','switcher');
}
